package com.dji.service.model;

import java.util.Map;

import com.dji.bean.Compoment;
import com.dji.common.utils.TimeUtil;

/**
 * 同步服务器时间组件
 * 
 * @author xinlin.wang
 *
 */
@Compoment("sysDate")
public class SynClientDateService extends AbstractService {
	public void executeCommand(Map<String, String> parms) throws Exception {
		TimeUtil.synchronousServiceDate(TimeUtil.getDateByStringStyle(parms.get("serverDate")));
	}
}
